// 实习数据提交接口
// src/main/java/org/example/backend/dto/StudentInternshipInfoDto.java
package org.example.backend.dto;

import lombok.Getter;
import lombok.Setter;

@Getter
@Setter
public class StudentInternshipInfoDto {
    private Long studentId;
    private Long internshipId;
    private String positionTitle;
    private String companyName;

    // 添加默认构造函数
    public StudentInternshipInfoDto() {}

    // 添加带参数的构造函数，与 JPQL 查询中的参数顺序匹配
    public StudentInternshipInfoDto(Long studentId, Long internshipId, String positionTitle, String companyName) {
        this.studentId = studentId;
        this.internshipId = internshipId;
        this.positionTitle = positionTitle;
        this.companyName = companyName;
    }
}
